/*
 * @author ${user}
 * @date ${year}-${month}-${day}
 */

package net.xdclass.service;

import net.xdclass.controller.request.ConfirmOrderRequest;
import net.xdclass.controller.request.ProductOrderPageRequest;
import net.xdclass.model.EventMessage;
import net.xdclass.model.ProductOrderDO;
import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.util.JsonData;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2025-09-23
 */
public interface ProductOrderService extends IService<ProductOrderDO> {

	String queryState(String outTradeNo);

	Map<String, Object> getPage(ProductOrderPageRequest productOrderPageRequest);

	JsonData confirmOrder(ConfirmOrderRequest confirmOrderRequest, HttpServletResponse response);

	void closeProductOrder(EventMessage eventMessage);
}
